package com.yd.config;

import java.io.File;

public class Config {

    private static String path = Config.class.getResource("/").getPath();
    /**
     * 带翻译的String文件
     */
    public static File inputFile = new File(path, "file/");
    /**
     * 临时输出目录
     */
    public static File outFile = new File(path, "out_extract");

    /**
     * 翻译文件存放目录
     */
    public static File translate = new File(path, "translate");
    /**
     * 翻译合并后的文件，复制到项目对应位置
     */
    public static String translateFileName = "translate.txt";
    public static String translateSuffix = "_merge_translate";

    /**
     * 翻译合后的文件名扩展
     */
    public static String translateExt = ".txt";


    /**
     * 需要重新排序的原文件目录
     */
    public static File orderSourceFileDir = new File(path, "order");
    public static String needOrderSuffix = "_order";
    public static String needOrderFinishSuffix = "_order_finish";
    public static File OrderFileDir = new File(path, "out_order");

    public static String  TranslateKeyValueDivider = "\t";

    /**
     * 翻译合并后的文件，复制到项目对于位置
     */
    public static String[] translateLang = {"es", "pt"};
//    public static String[] translateLang = {"es","pt","ar"};

    /**
     * 当翻译文字不存在翻译文案是，是否复制默认的原文案到翻译文件中
     */
    public static boolean isUserSourceText = true;

}
